package com.yupi.yuaiagent.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class StepResult {
    /**
     * 思考过程
     */
    private String thoughtProcess;

    /**
     * 主要内容
     */
    private String mainContent;

    /**
     * 创建空结果
     */
    public static StepResult empty() {
        return new StepResult("", "");
    }

    /**
     * 创建只有思考过程的结果
     */
    public static StepResult thoughtOnly(String thoughtProcess) {
        return new StepResult(thoughtProcess, "");
    }

    /**
     * 创建只有主要内容的结果
     */
    public static StepResult contentOnly(String mainContent) {
        return new StepResult("", mainContent);
    }

    /**
     * 创建完整结果
     */
    public static StepResult full(String thoughtProcess, String mainContent) {
        return new StepResult(thoughtProcess, mainContent);
    }
}